﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace hDualPane.Model
{
    public class FileSummary
    {
        public string FileName { get; set; }
        public string FileExt { get; set; }
        public long FileSize { get; set; }
        public string FormattedFileSize {
            get {
                if (FileSize >= 0)
                {
                    return FileSize.ToString("#,###.##");
                }
                else
                {
                    return "N/A";
                }
            }
        }
    }
}
